$(document).ready(function(){
    document.getElementById('filepath').src ="http://localhost:8080/"+$('#path').val();
    $('#cancel').click(function(){
		BootstrapDialog.closeAll();
	})
});